<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@include file="../head.jsp"%>

	<!-- 页面内容 -start -->
	<div id="bodyCentent" style="margin-top: 50px;">
		<div class="_panel">
			<form id="Search_form" method="post">
				<div class="_panel-header">
					<div class="_left">
						<h3>详情列表</h3>
					</div>
					<div class="_right">
						<label class="_right _green" onclick="showAlert({title:'高级搜索',msg:'.MsgSearch',msgType:'jquery'})">高级搜索</label>
					</div>
					<div class="clear"></div>
				</div>
				<div class="_panel-content">
					<!-- <div class="_row"> -->
					<div class="_grow">
						<span class="g-1-12"><label>开始时间哈哈：</label></span> 
						<span class="g-1-8"><input type="text" class="datetimepicker" placeholder="yyyy-MM-dd HH:mm" tipsH="hover" /> </span> 
						<span class="g-1-12"><label>结束时间：</label></span>
						<span class="g-1-8"><input type="text" class="datepicker" placeholder="yyyy-MM-dd" tipsC="条件不能为空！" /> </span> 
						<span class="g-1-12"><label>搜索条件3：</label></span> 
						<span class="g-1-8"><input type="text" /> </span> 
						<span class="g-1-12"><label>搜索条件4：</label></span> 
						<span class="g-1-8">
							<select name="choose" >
								<option value="选择风格" selected="selected">选择风格 </option>
								<option value="复古风">复古风</option>
								<option value="摇滚风">摇滚风摇</option>
								<option value="怀旧风">怀旧风</option>
							</select>
						</span> 
						<span class="g-1-6 ">
							<button type="submit" class="_green">Search</button>
							<button type="button" tipsH="清空搜索条件">Clear</button>
						</span>
						<div class="clear"></div>
					</div>
					<!-- 	</div> -->
				</div>
			</form>
		</div>
		<div class="_panel">
			<div class="_panel-header">
				<div class="_left">
					<h3>详情列表</h3>
				</div>
				<div class="clear"></div>
			</div>
			<div class="_panel-content" style="">
				  <div class="_grow">
					<span class="_buttons _left">
						<button type="button" class="_green" onclick="showAlert()">新增</button>
						<button type="button" class="_red" onclick="showMsg('我是错误提示信息!!','error')">删除</button>
						<button type="button" onclick="$('#iCtips').addTips('iCtips','· 我是手动的一长条tips<br/>· 我是第二行','red')">add tips</button> 
						<span class="_right"> <input type="text" id="iCtips" placeholder="Ctrl tips" style="width: 200px;" /></span>
						<button type="button" onclick="$('#iCtips').delTips('iCtips')">del tips</button> 
					</span>
					<div class="_fenye _right">
						<label>共${result.allCounts}条数据</label>
						<c:forEach items="${result.pageNum}" var="item" varStatus="status">
							<button type="button" ${(item==result.currentPage+"")?"class='_green'":""}>${item=='0'?"...":item}</button>
						</c:forEach>
					</div>
					<div class="clear"></div>
				</div>  
				<table class="_table _tableH" style="min-width: 1000px;">
					<thead>
						<td width="20px;"><input class="ckAll" type="checkbox" /></td>
						<td>许可证编号</td>
						<td>公司名称</td>
						<td>公司简称</td>
						<td>代理人</td>
						<td>所在地 （省市）</td>
						<!--<td>地址</td>
							
						 	<td >业务类型</td>
							<td>业务覆盖范围</td> -->
						<td>发证日期</td>
						<td>有效期至</td>
						<td>发卡批次</td>
						<td>网址</td>
						<td>操作</td>
						</tr>
					</thead>
					<tbody>
						<c:forEach var="item" items="${result.list}">
							<tr>
								<td><input type="checkbox" /></td>
								<td>${item.licenseNumber}</td>
								<td>${item.companyName}</td>

								<td>${item.aliasName}</td>
								<td>${item.representative}</td>

								<td>${item.location}</td>
								<%--<td>${item.address}</td>
								 <td>${item.businessType}</td> --%>
								<td>${item.dateBegin}</td>
								<td>${item.dateEnd}</td>
								<td><label class="_green">${item.batch}</label></td>
								<td><a href="${item.webSite}" target="_blank">${item.webSite}</a></td>
								<td><a href="javascript:void(0);" onclick="showMsg('我是默认提示信息!!')">Edit</a></td>
							</tr>
						</c:forEach>

					</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<!-- 自定义弹出框-end -->
	<div class="MsgSearch" style="display: none;">
		<div class="_grow">
			<span class="g-4-24"><label>开始时间：</label></span> 
			<span class="g-7-24"><input type="text" class="datetimepicker" lazy="true" placeholder="yyyy-MM-dd HH:mm" tipsH="条件不能为空！" /> </span> 
			<span class="g-4-24"><label>结束时间：</label></span> 
			<span class="g-7-24"><input type="text" class="datepicker" lazy="true" placeholder="yyyy-MM-dd" tipsC="条件不能为空！"/></span>
			<div class="clear"></div>
		</div>
		<div class="_grow">
			<span class="g-4-24"><label>结束时间3：</label></span> 
			<span class="g-7-24"><input type="text" /> </span> 
			<span class="g-4-24"><label>结束时间4：</label> </span>
			<span class="g-7-24">
				<select name="choose" lazy="true">
					<option value="选择风格" selected="selected">选择风格 </option>
					<option value="复古风">复古风</option>
					<option value="摇滚风">摇滚风摇</option>
					<option value="怀旧风">怀旧风</option>
				</select>
			</span>
			<div class="clear"></div>
		</div>
	</div>
	<%@include file="../bottom.jsp"%>
	